﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName="MySubMenue/Create MyScriptableObject ")]
public class Conf : ScriptableObject
{
    public float f;
    public List<ColorConf> MatDic = new List<ColorConf>();

    public int LevelCnt
    {
        get
        {
            
            return Resources.LoadAll("Map").Length;
        }
    }
}


[Serializable]
public class ColorConf
{
    public TriEnum Type;
    public Material Mat;
}